﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="PartControl.ascx.cs" Inherits="CMS_Control_PartControl" %>
<%@ Register Src="SetRole.ascx" TagName="SetRole" TagPrefix="uc1" %>
<%@ Register Src="SetRoleEdit.ascx" TagName="SetRoleEdit" TagPrefix="uc3" %>
<%@ Register Src="SelUser.ascx" TagName="SelUser" TagPrefix="uc2" %>
<%@ Register Src="GetPic.ascx" TagName="GetPic" TagPrefix="uc4" %>
<style>
    td
    {
        vertical-align: top;
    }
    .input
    {
        overflow: hidden;
        width: 245px;
    }
    .input input
    {
        width: 100%;
        border: #000 1px solid;
    }
    .input textarea
    {
        border: #000 1px solid;
    }
    .input select
    {
        width: 150px;
        border: #000 1px solid;
    }
    #Part
    {
        font-size: 13px;
        text-align: left;
        width: 685px;
        margin: 10px;
    }
</style>
<fieldset title="栏目属性" style="overflow: hidden; margin-top: 10px;" runat="server"
    id="cont">
    <legend style="font-size: large; font-weight: bold">栏目属性<span id="Span1" runat="server"
        style="color: Red"></span>
        <asp:Button ID="Del" runat="server" Text="永久删除" ForeColor="Red" OnClientClick="return confirm('永久删除目录,确认执行?')"
            OnClick="Del_Click" Visible="false" /></legend>
    <table id="Part">
        <tr>
            <td>
                栏目名称<span style="color: Red">*</span>：
            </td>
            <td class="input">
                <asp:TextBox ID="topic" runat="server" MaxLength="20"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                浏览权限<span style="color: Red">*</span>：
            </td>
            <td class="input">
                <uc1:SetRole ID="SetRole1" runat="server" />
            </td>
            <td>
                修改权限<span style="color: Red">*</span>：
            </td>
            <td class="input">
                <uc3:SetRoleEdit ID="SetRoleEdit1" runat="server" />
            </td>
        </tr>
        <tr runat="server" id="CheckTr">
            <td>
                是否审核：
            </td>
            <td>
                <asp:CheckBox ID="shifoushenhe" runat="server" />
            </td>
            <td>
                审核人：
            </td>
            <td>
                <uc2:SelUser ID="SelUser1" runat="server" />
            </td>
        </tr>
        <tr>
        <td>
                排序[倒序]：
            </td>
            <td>
                <asp:TextBox ID="txtNum" runat="server"></asp:TextBox> (数字)
            </td>
            <td style="color: Red">
                是否作废：<br />
            </td>
            <td>
                <asp:CheckBox ID="shifouxianshi" runat="server" />
            </td>
        </tr>
        <tr runat="server" id="PicChoose">
            <td>
                选择图片：
            </td>
            <td>
                <uc4:GetPic ID="GetPic1" runat="server" />
            </td>
        </tr>
    </table>
</fieldset>
<br />
<span id="DoSave" runat="server">
    <asp:Button ID="Save" runat="server" Text="保存" OnClick="Save_Click" OnClientClick="return confirm('确认执行？')" />
    &nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="AddSon" runat="server" Text="添加子目录" OnClick="AddSon_Click" />
</span><span id="DoCheck" runat="server">&nbsp;&nbsp;&nbsp;&nbsp;<asp:Button ID="AddAct"
    runat="server" Text="添加文章" OnClick="AddAct_Click" />
</span>
<asp:HiddenField ID="mode" runat="server" />
<asp:HiddenField ID="hidborder" runat="server" />
<asp:HiddenField ID="hidtype" runat="server" />
<asp:HiddenField ID="hidart" runat="server" />
<asp:HiddenField ID="hidartp" runat="server" />
<asp:HiddenField ID="hidIsCheck" runat="server" />
